import React from 'react'
import { useSearchParams ,useParams} from 'react-router-dom'

export default function Detail() {
    // let [params] = useSearchParams()
    // console.log(params.get('username'));

    let params=useParams()
    console.log(params);
    let id=params.id
    return (
        <div>
            Detail id:{id}
        </div>
    )
}
